#!/bin/bash
su postgres <<EOF
psql -c  "CREATE USER $1 REPLICATION  LOGIN  CONNECTION LIMIT 10 ENCRYPTED PASSWORD '$2'  "
exit;
EOF
